package org.jeecg.modules.foc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 设备管理
 * @Author: jeecg-boot
 * @Date:   2025-01-10
 * @Version: V1.0
 */
@Data
@TableName("foc_device")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="foc_device对象", description="设备管理")
public class FocDevice {
    
	/**id*/

    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**guid*/
	@Excel(name = "guid", width = 15)
    @ApiModelProperty(value = "guid")
	@TableId(type = IdType.NONE)
	private java.lang.String guid;
	/**tag*/
	@Excel(name = "tag", width = 15)
    @ApiModelProperty(value = "tag")
	private java.lang.String tag;
	/**path*/
	@Excel(name = "path", width = 15)
    @ApiModelProperty(value = "path")
	private java.lang.String path;
	/**name*/
	@Excel(name = "name", width = 15)
    @ApiModelProperty(value = "name")
	private java.lang.String name;
	/**（1 空间节点   2设备节点   3 点位节点）*/
	@Excel(name = "（1 空间节点   2设备节点   3 点位节点）", width = 15)
    @ApiModelProperty(value = "（1 空间节点   2设备节点   3 点位节点）")
	private java.lang.Integer nodeType;
	/**删除状态*/
	@Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
	private java.lang.Integer delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
	/**设备类型*/
	@Excel(name = "设备类型", width = 15)
    @ApiModelProperty(value = "设备类型")
	private java.lang.String deviceType;
	/**上联设备guid。如有多个上联的，guid间用
英文逗号,隔开 */
	@Excel(name = "上联设备guid。如有多个上联的，guid间用 英文逗号,隔开 ", width = 15)
    @ApiModelProperty(value = "上联设备guid。如有多个上联的，guid间用 英文逗号,隔开 ")
	private java.lang.String link;
	/**parentGuid*/
	@Excel(name = "parentGuid", width = 15)
    @ApiModelProperty(value = "parentGuid")
	private java.lang.String parentGuid;
	@Excel(name = "映射设备类型", width = 15)
	@ApiModelProperty(value = "映射设备类型 ")
	private java.lang.String mpDeviceType;

	@Excel(name = "映射设备大类", width = 15)
	@ApiModelProperty(value = "映射设备大类 ")
	private java.lang.String mpBigType;
	/**
	 * 设备生产厂商
	 *
	 */
	@Excel(name = "设备生产厂商", width = 15)
	@ApiModelProperty(value = "设备生产厂商")
	private java.lang.String productor;

    /**
     * 设备id
     */
    @ApiModelProperty("设备id")
    private String deviceid;

}
